package org.thread.test05.syn.homework.demo01;

/**
 * 账户类
 * @author CSY
 * @date 2025 - 03 - 12
 */
public class Account {
    /**
     *
     * 余额
     */
    private double surplus;

    /**
     * 取钱
     * @param user 取钱用户
     * @param money 取出金额
     */
    public void getMoney(String user,double money) {

    }


    public double getSurplus() {
        return surplus;
    }

    public void setSurplus(double surplus) {
        this.surplus = surplus;
    }
}
